import React, { Component } from 'react'
import Far from './Far'
import Registe from './Registe'
import Login from './Login'

export default class App extends Component {
  render() {
    return (
      <div>
        <Far
          render={(state, handle) => {
            return <Registe {...state} handle={handle} />
          }}
        ></Far>
        <Far
          render={(state, handle) => {
            return <Login {...state} handle={handle} />
          }}
        ></Far>
      </div>
    )
  }
}
